Repository navigation
Conversation
Each shard takes whole modules, so one module holding nearly every role test set the floor of its shard and pushed it past the job timeout. The role tests move, unchanged, into one module per concern over a shared fixture.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Shard 4 of the unit tests can pass its 30 minute job timeout while its tests are still running and passing (run: cancelled partway through
test_runtime_autostart, which had then run for over 20 minutes). The dealer assigns whole modules to shards, so one module holding nearly every role test cannot be spread out.The role tests move into
test_runtime_autostart_wedged.py,test_runtime_autostart_launchd.pyandtest_runtime_autostart_vm.py, over a fixture inruntime_autostart_support.py. Test bodies and helpers are unchanged: the syntax trees of the class members before and after the split are identical. The dealer puts the launchd module in a different shard from the other two.